package com.wonders.module.auth.entity.vo;

import com.wonders.framework.entity.vo.BaseTreeVo;

/**
 * 菜单信息VO
 * 
 * @author WuBin
 * 
 */
public class MenuVo extends BaseTreeVo {

	/**
	 * 编号
	 */
	private Long id;

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 父级菜单编号
	 */
	private Long parentId;

	/**
	 * 链接
	 */
	private String url;

	/**
	 * 排序
	 */
	private Integer sort;

	/**
	 * 是否有效
	 */
	private Integer enable;

	/**
	 * 排除编号
	 */
	private Long excludeId;

	public Long getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public Long getParentId() {
		return parentId;
	}

	public String getUrl() {
		return url;
	}

	public Integer getSort() {
		return sort;
	}

	public Integer getEnable() {
		return enable;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public void setEnable(Integer enable) {
		this.enable = enable;
	}

	public Long getExcludeId() {
		return excludeId;
	}

	public void setExcludeId(Long excludeId) {
		this.excludeId = excludeId;
	}

	@Override
	public String toString() {
		return "MenuVo [id=" + id + ", name=" + name + ", parentId=" + parentId
				+ ", url=" + url + ", sort=" + sort + ", enable=" + enable
				+ ", excludeId=" + excludeId + ", isChecked()=" + isChecked()
				+ "]";
	}

}
